<template>
  <div>
    <el-tabs v-model="activeTab" class="demo-tabs" @tab-click="handleClick">
      <el-tab-pane label="字段分类分级" name="field">
        <Column />
      </el-tab-pane>
      <el-tab-pane label="表分类分级" name="table">
        <Table />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script setup lang="tsx">
import Column from './components/column.vue'
import Table from './components/table.vue'
const backOption = ref({
  title: '返回'
})
const activeTab = ref('field')

const handleClick = (tab, event) => {
  console.log(tab, event)
}
</script>
